package cn.inbot.shopadmin.module.robot.repository;

import java.util.HashMap;

import cn.inbot.shopadmin.api.DemoApiFactory;
import cn.inbot.shopadmin.bean.ScanQrcodeResult;
import io.reactivex.Observable;

/**
 * Created by shisenkun on 2021/5/11.
 */
public class ScanQrcodeRepository  {

    public Observable<ScanQrcodeResult> scanQrcode(String username, String loginuuid, String qrcode) {
        HashMap<String, String> parameters = new HashMap();
        parameters.put("u", username);
        parameters.put("l", loginuuid);
        parameters.put("q", qrcode);

        return DemoApiFactory.getInstance().getDemoApi().scanQrcode(parameters);

    }
}
